import { createApp } from 'vue';
import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import router from './router';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import './styles/style.css';
import App from './App.vue';
// 执行一个ts文件，把其他的ts文件加入到项目里面来，必须在main.ts引入
import './permission';

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
createApp(App).use(Antd).use(router).use(pinia).mount('#app');

import './qiankun';
